﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="defaultMain.aspx.cs" Inherits="BF.Web.pages.defaultMain" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>卫生监督行政审批</title>
    <link href="/css/icon.css" rel="stylesheet" type="text/css" />
    <script src='/script/window.js' type='text/javascript'></script>
    <script src='/script/addTab.js' type='text/javascript'></script>
    <script src='/script/OpenQuery.js' type='text/javascript'></script>
    <script src="/script/jquery-1.4.2.min.js" type="text/javascript"></script>
    <script src="/script/winer.js" type="text/javascript"></script>
    <style type="text/css">
        .CloseDIV
        {
            border: 1px solid yellow;
            position: absolute;
            top: 200px;
            left: 200px;
            width: 210px;
            height: 50px;
            background-color: #5184B9;
        }
        .titleDIV
        {
            margin: 5px 0 5px 5px;
            color: White;
        }
        .lbtnClose
        {
            border: 1px solid yellow;
            float: left;
            margin: 0 5px 0 5px;
        }
        .tuichu
        {
            float: left;
            cursor: pointer;
            color: White;
            text-decoration: none;
        }
        .tuichu:hover
        {
            float: left;
            cursor: pointer;
            color: Yellow;
            text-decoration: none;
        }
        body
        {
            margin-left: 0px;
            margin-top: 0px;
            margin-right: 0px;
            margin-bottom: 0px;
        }
        .topfont01
        {
            font-family: "宋体";
            font-size: 12px;
            line-height: 24px;
            color: #FFFFFF;
            text-decoration: none;
        }
        .topfont01:link
        {
            font-family: "宋体";
            font-size: 12px;
            line-height: 24px;
            color: #FFFFFF;
            text-decoration: none;
            vertical-align: middle;
        }
        .topfont01:visited
        {
            font-family: "宋体";
            font-size: 12px;
            line-height: 24px;
            color: #FFFFFF;
            text-decoration: none;
            vertical-align: middle;
        }
        .topfont01:hover
        {
            font-family: "宋体";
            font-size: 12px;
            line-height: 24px;
            color: #FFFF00;
            text-decoration: none;
            vertical-align: middle;
        }
        .topfont01:active
        {
            font-family: "宋体";
            font-size: 12px;
            line-height: 24px;
            color: #FFFFFF;
            text-decoration: none;
            vertical-align: middle;
        }
        .topfont02
        {
            font-family: "宋体";
            font-size: 12px;
            line-height: 20px;
            color: #FFFFFF;
            text-decoration: none;
        }
        .nrbtfont01
        {
            font-family: "宋体";
            font-size: 12px;
            color: #333333;
            text-decoration: none;
        }
        .nrbtfont01:link
        {
            font-family: "宋体";
            font-size: 12px;
            color: #333333;
            text-decoration: none;
            vertical-align: middle;
        }
        .nrbtfont01:visited
        {
            font-family: "宋体";
            font-size: 12px;
            color: #333333;
            text-decoration: none;
            vertical-align: middle;
        }
        .nrbtfont01:hover
        {
            font-family: "宋体";
            font-size: 12px;
            color: #FF0000;
            text-decoration: none;
            vertical-align: middle;
        }
        .nrbtfont01:active
        {
            font-family: "宋体";
            font-size: 12px;
            color: #333333;
            text-decoration: none;
            vertical-align: middle;
        }
        .ext-ie .x-menu
        {
            zoom: 1;
            overflow-y: auto;
        }
        .ext-ie6 .x-menu-item-icon
        {
            left: 0px;
        }
        .x-tree-node-el
        {
            line-height: 22px;
        }
        .transparent-window,
        .transparent-window .x-window-body, 
        .transparent-window .x-panel-body {
            background-color: transparent;
        }
         
        .transparent-panel {
            background-color: transparent;
        }
    </style>
    <script type="text/javascript">
        //        function onReady() {
        //            var tabs_Main = #{Pages};
        //            tabs_Main.on('tabchange', function (tabStrip, tab) {
        //            if (tab.url) {
        //                    window.location.href = '#' + tab.url;
        //                } else {
        //                    window.location.href = '#';
        //                }
        //            });
        //        }

        function OnExit() {
            Ext.Msg.show({
                msg: '请选择退出方式!',
                buttons: { yes: '注销', no: '退出系统', cancel: '取消' },
                icon: Ext.MessageBox.WARNING,
                fn: processResult
            });
        }

        function processResult(obj) {
            switch (obj) {
                case 'yes':
                    __doPostBack('LoginStatus1$ctl00', '');
                    break;
                case 'no':
                    this.document.location = '/pages/CheckSystem.aspx';
                    break;
                default:
                    return;
            }
        }
        var $j = jQuery.noConflict();
        $j(document).ready(function () {
            keepMeAlive(); //刷新数据

        });

        function keepMeAlive() {//延长Session的时间 ExtendSeesionHandler.ashx
            $j.ajax({
                type: "POST",
                dataTye: "text",
                url: "ExtendSeesionHandler.ashx?nowTime=" + new Date(),
                async: false,
                //data: { radom: Math.random() },
                beforeSend: function () { },
                complete: function () { },
                error: function () {
                },
                success: function (json) {

                }

            });
            setTimeout(keepMeAlive, 900000);
        }

    </script>
</head>
<body>
    <form id="form1" runat="server">
    <ext:ResourceManager ID="ResourceManager1" runat="server">
    </ext:ResourceManager>
    <ext:Viewport ID="Viewport1" runat="server" Layout="border">
        <Items>
            <ext:Panel ID="North" runat="server" Collapsible="false" Height="72" Region="North"
                MaxHeight="72" MinHeight="72" Split="true" Title="">
                <Content>
               <div style="font-weight: bold;font-size:30px; color:#15428B; float:left;width:480px;padding:7px 0 0 10px;">合肥市卫生监督</div><div style="float:right;padding:0 5px 0 0;"><a href="http://www.ah168.net/" target="_blank"><img src="/images/logo.jpg" height="40" title="万嘉网络科技" alt="万嘉网络科技"/></a></div>
                </Content>
                <BottomBar runat="server">
                    <ext:Toolbar runat="server" ID="Toolbar1">
                        <Items>
                            <ext:Button ID="Button3" runat="server" Icon="User">
                            </ext:Button>
                            <ext:Label runat="server" ID="litUserName">
                            </ext:Label>
                            <ext:ToolbarSeparator ID="ToolbarSeparator3" runat="server" />
                            <ext:Button ID="Button4" runat="server" Icon="House">
                            </ext:Button>
                            <ext:Label runat="server" ID="litHospital">
                            </ext:Label>
                            <ext:ToolbarFill ID="ToolbarFill1" runat="server">
                            </ext:ToolbarFill>
                            <ext:Button ID="Button2" runat="server" Text="修改密码" ToolTip="修改密码" Icon="LockKey" OnClientClick="addTab(Pages,'修改密码' , 'BaseSystem/UserManagement/ChangePassword.aspx',this);">
                            </ext:Button>
                            <ext:ToolbarSeparator ID="ToolbarSeparator1" runat="server" />
                            <ext:Button ID="Button1" runat="server" Text="注销登录" Icon="BulletGo" ToolTip="注销登录">
                                <DirectEvents>
                                    <Click OnEvent="Button1_Click">
                                    </Click>
                                </DirectEvents>
                            </ext:Button>
                            <ext:ToolbarSeparator ID="ToolbarSeparator2" runat="server" />
                        </Items>
                    </ext:Toolbar>
                </BottomBar>
            </ext:Panel>
            <ext:Panel ID="South" Collapsible="false" Height="" Region="South" runat="server"
                Split="true" Title="" Html="<div class='x-panel-header x-unselectable' style='text-align:center'> 版权所有：合肥市卫生监督所&nbsp;&nbsp;技术支持：<a href='#' title='点击加载这个网站' target='_blank'>合肥万嘉网络科技有限公司</a> 服务热线：0551-xxxxxxxx</div>"
                AnchorHorizontal="center" AutoHeight="true">
                <Items>
                </Items>
            </ext:Panel>
            <ext:Panel ID="West" runat="server" Collapsible="true" Layout="accordion" Region="West"
                Split="true" Title="系统导航菜单" Icon="ChartOrganisation" Width="210">
                <Items>
                </Items>
            </ext:Panel>
            <ext:Panel runat="server" ID="helpPanel" Region="East" Collapsible="true" Collapsed="true"
                Title="系统帮助" Width="200" Split="true">
            </ext:Panel>
            <ext:Panel ID="Center" runat="server" Layout="Fit" Region="Center" Title="">
                <Items>
                    <ext:TabPanel ID="Pages" runat="server" ActiveTabIndex="0" Border="false" Title="Center"
                        EnableTabScroll="true">
                        <Items>
                            <ext:Panel ID="tab1" runat="server" Icon="ApplicationHome" Closable="false" Title="系统首页">
                                <Items>
                                    <ext:FitLayout ID="FitLayout2" runat="server">
                                        <Items>
                                            <ext:Portal ID="Portal1" runat="server" Layout="ColumnLayout" Border="false" BodyStyle="background-color: transparent;">
                                                <Items>
                                                    <ext:PortalColumn ID="PortalColumn2" runat="server" Layout="AnchorLayout" ColumnWidth=".48"
                                                        StyleSpec="padding:10px 0 10px 10px">
                                                        <Items>
                                                            <ext:Portlet ID="Portlet1" Title="领导活动" runat="server">
                                                            </ext:Portlet>
                                                            <ext:Portlet ID="Portlet2" Title="通知公告" runat="server">
                                                            </ext:Portlet>
                                                            <ext:Portlet ID="Portlet3" Title="通报" runat="server">
                                                            </ext:Portlet>
                                                            <ext:Portlet ID="Portlet8" Title="公文公开" runat="server">
                                                            </ext:Portlet>
                                                        </Items>
                                                    </ext:PortalColumn>
                                                    <ext:PortalColumn ID="PortalColumn3" runat="server" Layout="AnchorLayout" ColumnWidth=".48"
                                                        StyleSpec="padding:10px">
                                                        <Items>
                                                            <ext:Portlet ID="Portlet4" Title="工作简讯" runat="server">
                                                            </ext:Portlet>
                                                            <ext:Portlet ID="Portlet5" Title="政策法规" runat="server">
                                                            </ext:Portlet>
                                                            <ext:Portlet ID="Portlet6" Title="地方工作动态" runat="server">
                                                            </ext:Portlet>
                                                            <ext:Portlet ID="Portlet7" Title="系统升级报告" runat="server">
                                                            </ext:Portlet>
                                                        </Items>
                                                    </ext:PortalColumn>
                                                </Items>
                                            </ext:Portal>
                                        </Items>
                                    </ext:FitLayout>
                                </Items>
                            </ext:Panel>
                        </Items>
                        <Plugins>
                            <ext:TabCloseMenu runat="server" ID="ctl162" CloseTabText="关闭" CloseOtherTabsText="关闭其他"
                                CloseAllTabsText="关闭所有" />
                        </Plugins>
                    </ext:TabPanel>
                </Items>
            </ext:Panel>
        </Items>
    </ext:Viewport>
    </form>
</body>
</html>
